home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ IE Timeout 1.xpl < prev    next >
Text File  |  2003-11-20  |  1KB  |  46 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="2"
  3. "COUNT"="1"
  4. "UIPATH"="Internet\Internet Explorer\Timeouts"
  5. "NAME"="Script Timeout"
  6. "VERSION"="1.05"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Statement Count"
  9. "DESCRIPTION 1"="Internet Explorer includes an internal counter that counts how many script (e.g. JScript) are executed. If this counter exceeds the default value, a warning box is displayed and the user can disable the further execution of the script."
  10. "DESCRIPTION 2"="By default, IE allows 5,000,000 statements to be executed but this value can be changed here."
  11. "DESCRIPTION 3"="To restore the original settings, clear the field."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="Thanks to Julia_Bromley@adp.com for the bug notice!"
  16.  
  17.  
  18. sP1="HKCU\Software\Microsoft\Internet Explorer\Styles\MaxScriptStatements"
  19. Sub Plugin_Initialize  
  20.     i=RegReadValue(sP1)
  21.     SetUIElement 1,i
  22.  
  23. End Sub
  24.  
  25. Sub Plugin_CheckData(ElementIndex)
  26. End Sub
  27.  
  28. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  29.  i=GetUIElement(1)
  30.  if len(i)=0 then
  31.     i=RegReadValue(sP1)
  32.     if IsEmpty(i)=false then
  33.        Call RegDeleteValue(sP1)
  34.     end if
  35.  else
  36.     Call RegWriteValue(sP1,i,2)
  37.  end if
  38.  
  39.  
  40.  
  41.  Call Logoff()
  42. End Sub
  43.  
  44. Sub Plugin_Terminate 
  45. End Sub
  46.